<%@ page contentType="text/html; charset=UTF-8" %>
<%@ taglib prefix="s" uri="/struts-tags"%>

<s:if test="#session[@org.bigk.invoices.Globals@SP_LOGGED_FLAG]">

<table class="menu">
  <tr>
    <td>
      <s:text name="menu.title"/>
      &nbsp;
      
      &nbsp;
      <s:url id="url" namespace="/" action="InfoAction" includeParams="none" />
      <s:a href="%{#url}" title="%{getText('menu.start_tt')}">
        <s:text name="menu.start"/>
      </s:a>
      &nbsp;
      |
      &nbsp;
      <s:url id="url" action="purchasers/list" includeParams="none" />
      <s:a href="%{#url}" title="%{getText('menu.purchasers_tt')}">
        <s:text name="menu.purchasers"/>
      </s:a>
      &nbsp;
      |
      &nbsp;
      <s:url id="url" action="invoices/list" includeParams="none" />
      <s:a href="%{#url}" title="%{getText('menu.faktury_tt')}">
        <s:text name="menu.faktury"/>
      </s:a>
      &nbsp;
      |
      &nbsp;
      <s:url id="url" action="invoices/create" includeParams="none" />
      <s:a href="%{#url}" title="%{getText('menu.nowaFaktura_tt')}">
        <s:text name="menu.nowaFaktura"/>
      </s:a>
      &nbsp;
      |
      &nbsp;
      <s:url id="url" namespace="/unsecured" action="LogoutAction" includeParams="none" />
      <s:a href="%{#url}" title="%{getText('menu.wyloguj_tt')}">
        <s:text name="menu.wyloguj"/>
      </s:a>
      &nbsp;
      
    </td>
  </tr>
</table>

</s:if>
